#!/bin/bash

tDate=`date "+%Y%m%d%H%M%S"`
# tVersion=`git rev-parse --short HEAD`

# git pull origin master

./provider-build.sh

if [ $? -ne 0 ]
then
    exit 1
fi

cd provider_docker

docker build ./ -t jibin0310/feign-provider:$tDate
#docker push jibin0310/feign-provider:$tDate